/**
 * output package name
 */
package com.kingdee.eas.custom.hr.assessment;

import com.kingdee.util.NumericExceptionSubItem;
import com.kingdee.util.NumericException;

/**
 * output class name
 */
public class AssessmentTimeConfigException extends NumericException
{
    private static final String MAINCODE = "22";

    public static final NumericExceptionSubItem PERIOD_NOT_NULL = new NumericExceptionSubItem("000", "PERIOD_NOT_NULL");
    public static final NumericExceptionSubItem CODE_NOT_EMP = new NumericExceptionSubItem("001", "CODE_NOT_EMP");
    public static final NumericExceptionSubItem EXIST_CODE = new NumericExceptionSubItem("002", "EXIST_CODE");
    public static final NumericExceptionSubItem NAME_NOT_EMP = new NumericExceptionSubItem("003", "NAME_NOT_EMP");
    public static final NumericExceptionSubItem BEGINDATE_NOT_EMP = new NumericExceptionSubItem("004", "BEGINDATE_NOT_EMP");
    public static final NumericExceptionSubItem ENDDATE_NOT_EMP = new NumericExceptionSubItem("005", "ENDDATE_NOT_EMP");

    /**
     * construct function
     * @param NumericExceptionSubItem info
     * @param Throwable cause
     * @param Object[] params
     */
    public AssessmentTimeConfigException(NumericExceptionSubItem info, Throwable cause, Object[] params)
    {
        super(info, cause, params);
    }

    /**
     * construct function
     * @param NumericExceptionSubItem info,Object[] params
     */
    public AssessmentTimeConfigException(NumericExceptionSubItem info, Object[] params)
    {
        this(info, null, params);
    }

    /**
     * construct function
     * @param NumericExceptionSubItem info,Throwable cause
     */
    public AssessmentTimeConfigException(NumericExceptionSubItem info, Throwable cause)
    {
        this(info, cause, null);
    }

    /**
     * construct function
     * @param NumericExceptionSubItem info
     */
    public AssessmentTimeConfigException(NumericExceptionSubItem info)
    {
        this(info, null, null);
    }

    /**
     * getMainCode function
     */
    public String getMainCode()
    {
        return MAINCODE;
    }
}